﻿<!DOCTYPE html>
<html lang="zh-CN" ><!-- manifest="manifest.appcache" -->
  <head>
    <#include "/v1.5/part_meta.ftl">
    <title>注册 - 迈小众</title>
  </head>
<body>
<#include "/v1.5/part_navbar.ftl">
<div class="container">
  <div class="row col-md-offset-2 col-md-8" style="margin-top: 20px;">
    <form id="form_register" autocomplete="off" class="form-horizontal">
      <div class="form-group">
        <label for="name" class="col-sm-3 control-label">用户名</label>
        <div class="col-sm-6">
          <input type="text" id="name" name="name" autofocus="autofocus" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="password" class="col-sm-3 control-label">密码</label>
        <div class="col-sm-6">
          <input type="password" id="password" name="password" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="password2" class="col-sm-3 control-label">确认密码</label>
        <div class="col-sm-6">
          <input type="password" id="password2" class="form-control">
        </div>
      </div>
      <div class="form-group">
        <label for="captcha" class="col-xs-12 col-sm-3 control-label">验证码</label>
        <div class="col-xs-5 col-sm-3">
          <input type="text" id="captcha" name="captcha" value="" class="form-control">
        </div>
        <div class="col-xs-4 col-sm-3">
          <img id="captchaImg" src="${st.domain}/captcha/captcha.png"  onclick="this.src='${st.domain}/captcha/captcha.png?r=' + Math.random();" style="height:35px;cursor:pointer;">
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-3 col-sm-6">
          <div class="checkbox">
            <label>
              <a class="checkbox"><input type="checkbox" class="hidden"></a> 我已同意《<a href="#">迈小众用户协议</a>》
            </label>
          </div>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-3 col-sm-6">
          <button type="submit" class="btn btn-success btn-lg col-xs-12">注 册</button>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-3 col-sm-6">
          <p><a href="${st.domain}/member/login">已注册有账户？</a></p>
        </div>
      </div>
    </form>
  </div>
  <#include "/v1.5/part_footer.ftl">
</div>
<script data-main="${st.resDomain}/v1.5/js/anonym/member_register" src="${st.resDomain}/v1.5/js/require.js"></script>
</body>
</html>
